<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>		 
	<?php Yii::app()->clientScript->registerMetaTag('text/html; charset=utf-8', null, null, array('http-equiv' => 'Content-Type')); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/reset.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/bootstrap.min.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/prettyPhoto.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/jquery.rating.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/rcarousel.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery-autocomplete/jquery.autocomplete.css', 'screen'); ?>
	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/style.css', 'screen'); ?>

	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery-1.6.4.min.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile('http://maps.googleapis.com/maps/api/js?sensor=false'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.jgrowl.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.autocomplete.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.prettyPhoto.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.rating.min.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.bxSlider.min.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.form.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.scrollTo-min.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/jquery.validate.min.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/jquery/messages_ru.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/auth.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/functions.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/classes/map.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/classes/features.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/classes/vote.js'); ?>
	<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/scripts.js'); ?>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>
    <body>				
	<?php echo $content; ?>
    </body>
</html>